#include "stdafx.h"
#include "BuffTypeDef.h"
#include "InstanceTouch.h"

DECL_INSTANCE_TOUCH(ETouch_BuffType);

struct BuffTypeDefReflectionRegister
{
	BuffTypeDefReflectionRegister()
	{
		REGISTER_REFLECTION_MEMBER(BuffTypeDef,m_iID,INVALID_ID).Editor_SetAsPrimaryKey();
		REGISTER_REFLECTION_MEMBER(BuffTypeDef,m_sDisplayName,std::string("DefaultDisplayName")).Editor_SetAsDisplayName();

		GlobalClassManager::Instance().RegisterClass(BuffTypeDef::s_GetReflection(),eDefaultDef_BuffType);
		GlobalDefManager::Instance().RegisterDefManger(&BuffTypeDefManager::Instance());
	}
}___bufftypedefreflectionregister;